package com.summer.peony.system.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.summer.peony.system.pojo.SysDept;
import com.summer.peony.system.pojo.SysDeptExample;

@Mapper
public interface SysDeptMapper {
	long countByExample(SysDeptExample example);

	int deleteByExample(SysDeptExample example);

	int deleteByPrimaryKey(Integer deptId);

	int insert(SysDept record);

	int insertSelective(SysDept record);

	List<SysDept> selectByExample(SysDeptExample example);

	SysDept selectByPrimaryKey(Integer deptId);

	int updateByExampleSelective(@Param("record") SysDept record, @Param("example") SysDeptExample example);

	int updateByExample(@Param("record") SysDept record, @Param("example") SysDeptExample example);

	int updateByPrimaryKeySelective(SysDept record);

	int updateByPrimaryKey(SysDept record);
}